﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeFile="F201_Quan_ly_phan_hoi_tu_benh_vien.aspx.cs" Inherits="ChucNang_F201_Quan_ly_phan_hoi_tu_benh_vien" %>

<%@ Register Assembly="eWorld.UI" Namespace="eWorld.UI" TagPrefix="ew" %>
<asp:Content ID="Content3" ContentPlaceHolderID="HeadContent" runat="Server">
    <style type="text/css">
        .style2
        {
            width: 205px;
        }
        .style3
        {
            width: 352px;
        }
        .style4
        {
            width: 175px;
        }
        .style5
        {
            height: 19px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="MainContent" runat="Server">
    <table cellspacing="0" cellpadding="2" style="width: 100%;" class="cssTable" border="0">
        <tr>
            <td class="cssPageTitleBG" colspan="4">
                <asp:Label ID="lbl_phan_hoi_tu_benh_vien" runat="server" CssClass="cssPageTitle"
                    Text="Phản hồi từ bệnh viện" />
                <asp:HiddenField ID="m_hdf_check_chon" runat="server" />
            </td>
        </tr>
        <tr>
            <td></td>
            <td>
                <asp:Label ID="m_lbl_them_moi" runat="server" Font-Bold="True" ForeColor="Red"></asp:Label>
                <br />
                <asp:Label ID="m_lbl_cap_nhat" runat="server" Font-Bold="True" ForeColor="Red"></asp:Label>
                <br />
                <asp:Label ID="m_lbl_xoa" runat="server" Font-Bold="True" ForeColor="Red"></asp:Label>
            </td>
            <td></td>
            <td></td>
        </tr>
        <tr align="center">
            <td align="right" class="style2">
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <asp:Label ID="m_lbl_ten_benh_vien_co_quan" CssClass="cssManField" runat="server"
                    Text="Tên bệnh viện" />
            </td>
            <td class="style3" align="left">
                <asp:DropDownList ID="m_cbo_ten_benh_vien" runat="server" Width="400px">
                </asp:DropDownList>
            </td>
            <td align="right" class="style4">
                <asp:Label ID="m_lbl_ten_benh_vien_co_quan0" CssClass="cssManField" runat="server"
                    Text="Ngày bảo trì" />
            </td>
            <td align="left">
                <ew:CalendarPopup ID="m_txt_ngay_bao_tri" runat="server" ControlDisplay="TextBoxImage"
                    GoToTodayText="Hôm nay:" ImageUrl="~/Images/cal.gif" Nullable="True" NullableLabelText=""
                    ShowGoToToday="True" Width="400px" SelectedDate="" Text="" Culture="vi-VN" DisableTextboxEntry="False">
                    <WeekdayStyle BackColor="White" Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small"
                        ForeColor="Black" />
                    <WeekendStyle BackColor="LightGray" Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small"
                        ForeColor="Black" />
                    <OffMonthStyle BackColor="AntiqueWhite" Font-Names="Verdana,Helvetica,Tahoma,Arial"
                        Font-Size="XX-Small" ForeColor="Gray" />
                    <SelectedDateStyle BackColor="Yellow" Font-Names="Verdana,Helvetica,Tahoma,Arial"
                        Font-Size="XX-Small" ForeColor="Black" />
                    <MonthHeaderStyle BackColor="Yellow" Font-Names="Verdana,Helvetica,Tahoma,Arial"
                        Font-Size="XX-Small" ForeColor="Black" />
                    <DayHeaderStyle BackColor="Orange" Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small"
                        ForeColor="Black" />
                    <ClearDateStyle BackColor="White" Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small"
                        ForeColor="Black" />
                    <GoToTodayStyle BackColor="White" Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small"
                        ForeColor="Black" />
                    <TodayDayStyle BackColor="LightGoldenrodYellow" Font-Names="Verdana,Helvetica,Tahoma,Arial"
                        Font-Size="XX-Small" ForeColor="Black" />
                    <HolidayStyle BackColor="White" Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small"
                        ForeColor="Black" />
                </ew:CalendarPopup>
            </td>
        </tr>
        <tr align="center">
            <td align="right" class="style2">
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <asp:Label ID="Label1" CssClass="cssManField" runat="server" Text="Nơi thực hiện bảo trì" />
            </td>
            <td class="style3" align="left">
                <asp:TextBox ID="m_txt_noi_thuc_hien_bao_tri" runat="server" Width="400px"></asp:TextBox>
            </td>
            <td align="right" class="style4">
                <asp:Label ID="m_lbl_ten_benh_vien_co_quan4" CssClass="cssManField" runat="server"
                    Text="Thời gian hoàn tất" />
            </td>
            <td align="left">
                <ew:CalendarPopup ID="m_txt_thoi_gian_hoan_tat" runat="server" ControlDisplay="TextBoxImage"
                    GoToTodayText="Hôm nay:" ImageUrl="~/Images/cal.gif" Nullable="True" NullableLabelText=""
                    ShowGoToToday="True" Width="400px" SelectedDate="" Text="" Culture="vi-VN" DisableTextboxEntry="False">
                    <WeekdayStyle BackColor="White" Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small"
                        ForeColor="Black" />
                    <WeekendStyle BackColor="LightGray" Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small"
                        ForeColor="Black" />
                    <OffMonthStyle BackColor="AntiqueWhite" Font-Names="Verdana,Helvetica,Tahoma,Arial"
                        Font-Size="XX-Small" ForeColor="Gray" />
                    <SelectedDateStyle BackColor="Yellow" Font-Names="Verdana,Helvetica,Tahoma,Arial"
                        Font-Size="XX-Small" ForeColor="Black" />
                    <MonthHeaderStyle BackColor="Yellow" Font-Names="Verdana,Helvetica,Tahoma,Arial"
                        Font-Size="XX-Small" ForeColor="Black" />
                    <DayHeaderStyle BackColor="Orange" Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small"
                        ForeColor="Black" />
                    <ClearDateStyle BackColor="White" Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small"
                        ForeColor="Black" />
                    <GoToTodayStyle BackColor="White" Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small"
                        ForeColor="Black" />
                    <TodayDayStyle BackColor="LightGoldenrodYellow" Font-Names="Verdana,Helvetica,Tahoma,Arial"
                        Font-Size="XX-Small" ForeColor="Black" />
                    <HolidayStyle BackColor="White" Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small"
                        ForeColor="Black" />
                </ew:CalendarPopup>
            </td>
        </tr>
        <tr align="right">
            <td class="style5">
                <asp:Label ID="Label9" CssClass="cssManField_Z" runat="server" Text="BÊN A" />
            </td>
            <td class="style5">
            </td>
            <td class="style5">
            </td>
            <td class="style5">
            </td>
        </tr>
        <tr align="center">
            <td align="right" class="style2">
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <asp:Label ID="Label4" CssClass="cssManField" runat="server" Text="Đại diện bên A" />
            </td>
            <td class="style3" align="left">
                <asp:TextBox ID="m_txt_dai_dien_ben_a" runat="server" Width="400px"></asp:TextBox>
            </td>
            <td align="right" class="style4">
                <asp:Label ID="Label5" CssClass="cssManField" runat="server" Text="Chức vụ" />
            </td>
            <td align="left">
                <asp:TextBox ID="m_txt_chuc_vu_dai_dien_ben_a" runat="server" Width="400px"></asp:TextBox>
            </td>
        </tr>
        <tr align="right">
            <td class="style5">
                <asp:Label ID="Label2" CssClass="cssManField_Z" runat="server" Text="BÊN B (Vạn Niên)" />
            </td>
            <td class="style5">
            </td>
            <td class="style5">
            </td>
            <td class="style5">
            </td>
        </tr>
        <tr align="center">
            <td align="right" class="style2">
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <asp:Label ID="Label3" CssClass="cssManField" runat="server" Text="Đại diện bên B" />
            </td>
            <td class="style3" align="left">
                <asp:DropDownList ID="m_cbo_dai_dien_ben_b" runat="server" Width="400px">
                </asp:DropDownList>
            </td>
            <td align="right" class="style4">
                &nbsp;
            </td>
            <td>
            </td>
        </tr>
        <tr align="center">
            <td align="right" class="style2">
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <asp:Label ID="Label6" CssClass="cssManField" runat="server" Text="Đánh giá của bệnh viện" />
            </td>
            <td colspan="3" align="left">
                <asp:TextBox ID="m_txt_danh_gia_benh_vien" runat="server" TextMode="MultiLine" Rows="7"
                    Width="1000px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td>
                <asp:Button ID="m_btn_them_moi" runat="server" Text="Thêm mới" 
                    onclick="m_btn_them_moi_Click" />
            </td>
            <td>
                <asp:Button ID="m_btn_cap_nhat" runat="server" Text="Cập nhật" 
                    onclick="m_btn_cap_nhat_Click" />
            </td>
            <td>
                <asp:Button ID="m_btn_xoa_trang" runat="server" Text="Xóa trắng" 
                    onclick="m_btn_xoa_trang_Click" />
            </td>
        </tr>
        <tr>
            <td class="cssPageTitleBG" colspan="4">
                <asp:Label ID="v_lbl_thong_tin_danh_gia" runat="server" Text="Thông tin đánh giá từ bệnh viện"
                    CssClass="cssPageTitle" />
            </td>
        </tr>
        <!-- Lưới dữ liệu -->
        <tr>
            <td align="center" colspan="4" valign="top">
                <asp:GridView ID="m_grv_dm_danh_gia_tu_benh_vien" runat="server" CellPadding="4"
                    AutoGenerateColumns="False" Width="98%" BackColor="White" BorderColor="#3366CC"
                    BorderStyle="None" BorderWidth="1px" 
                    onrowdeleting="m_grv_dm_danh_gia_tu_benh_vien_RowDeleting" 
                    onrowupdating="m_grv_dm_danh_gia_tu_benh_vien_RowUpdating" DataKeyNames="ID">
                    <Columns>
                        <asp:TemplateField HeaderText="STT">
                            <ItemTemplate>
                                <%# Container.DataItemIndex + 1 %>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:BoundField DataField="DAI_DIEN_BEN_A" HeaderText="Đại diện bên A" />
                        <asp:BoundField DataField="CHU_VU_DAI_DIEN_BEN_A" HeaderText="Chức vụ" />
                        <asp:BoundField DataField="NGAY_BAO_TRI" HeaderText="Ngày bảo trì" />
                        <asp:BoundField DataField="NOI_THUC_HIEN_BAO_TRI" HeaderText="Nơi bảo trì" />
                        <asp:BoundField DataField="DANH_GIA_CUA_BV_VOI_NHAN_VIEN" HeaderText="Đánh giá của bệnh viện với nhân viên" />
                        <asp:TemplateField HeaderText="Xem chi tiết">
                            <ItemTemplate>
                                <asp:LinkButton runat="server" ID="m_lbt_chi_tiet" CommandName="Update" ToolTip="Sửa"
                                    CausesValidation="false"><center><img src="../Images/Button/edit.png" width="20px" height="20px" alt="Sửa" /></center></asp:LinkButton>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Xóa">
                            <ItemTemplate>
                                <asp:LinkButton runat="server" ID="m_lbt_xoa" CommandName="Delete" OnClientClick="return confirm ('Các dữ liệu liên quan cũng sẽ bị xóa. Bạn có thực sự muốn xóa ?')"
                                    ToolTip="Xóa dự án này" CausesValidation="false"><center><img src="../Images/Button/deletered.png" width="20px" height="20px" alt="Xóa" /></center></asp:LinkButton>
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                    <FooterStyle BackColor="#99CCCC" ForeColor="#003399" />
                    <HeaderStyle BackColor="#003399" Font-Bold="True" ForeColor="#CCCCFF" />
                    <PagerStyle BackColor="#99CCCC" ForeColor="#003399" HorizontalAlign="Left" />
                    <RowStyle BackColor="White" ForeColor="#003399" />
                    <SelectedRowStyle BackColor="#009999" Font-Bold="True" ForeColor="#CCFF99" />
                    <SortedAscendingCellStyle BackColor="#EDF6F6" />
                    <SortedAscendingHeaderStyle BackColor="#0D4AC4" />
                    <SortedDescendingCellStyle BackColor="#D6DFDF" />
                    <SortedDescendingHeaderStyle BackColor="#002876" />
                </asp:GridView>
            </td>
        </tr>
        <tr>
            <td>
            </td>
        </tr>
    </table>
</asp:Content>
